OnErrorCallbackType
import { OnErrorCallbackType } from "@hyper-fetch/react"
Description
Defined in react/src/helpers/use-request-events/use-request-events.types.ts:95
Preview
type OnErrorCallbackType<Request> = (params: CallbackParameters<Request, ExtractErrorType<Request>>) => void | Promise<void>;
Structure
(params: CallbackParameters<Request, ExtractErrorType<Request>>) => void | Promise<void>